home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
t
/
tornadoagahdonly1.dms
/
tornadoagahdonly1.adf
/
install
< prev
next >
Wrap
Text File
|
1994-04-19
|
3KB
|
103 lines
cd >env:CurrentDir
setenv Title Tornado Installation
setenv Body1 To start the installation of tornado, you need to specify*n
setenv Body2 a directory in which tornado will be placed. A drawer*n
setenv Body3 called 'Tornado' will be created in the directory you select*n*n
setenv Body4 If you wish to create a new directory, abort the installation*n
setenv Body5 create the directory and start again.
requestchoice >env:Language "$Title" "$Body1 $Body2 $Body3 $Body4 $Body5" "Continue|Abort"
IF $Language VAL EQ 0
skip abort
ENDIF
requestfile >env:Dest TITLE "Select a directory to install into" DRAWER "sys:" DRAWERSONLY NOICONS POSITIVE "Install"
IF WARN
skip abort
ENDIF
cd $Dest
cd >env:ParentDir
IF NOT EXISTS Tornado
makedir Tornado
ENDIF
cd Tornado
cd >env:Destination
cd $CurrentDir
cd $Destination
copy disk1:tornado tornado
copy disk1:tornadoicon tornado.info
protect tornado +s
cd $ParentDir
copy disk1:icon tornado.info
cd $CurrentDir
copy disk1:dearc ram:
ram:dearc disk1:datfiles.arc $Destination/
setenv Body """Please select a language*n for Tornado to use"
setenv Gadgets """English|Spanish|Italian|German|French"
requestchoice >env:Language "$Title" $Body $Gadgets
IF $Language VAL EQ 1
copy disk1:prefs.english $Destination/data/prefs.dat
ENDIF
IF $Language VAL EQ 2
copy disk1:prefs.spanish $Destination/data/prefs.dat
ENDIF
IF $Language VAL EQ 3
copy disk1:prefs.italian $Destination/data/prefs.dat
ENDIF
IF $Language VAL EQ 4
copy disk1:prefs.german $Destination/data/prefs.dat
ENDIF
IF $Language VAL EQ 0
copy disk1:prefs.french $Destination/data/prefs.dat
ENDIF
ram:dearc disk1:flightdata.arc $Destination/
ram:dearc disk1:exec.arc $Dest
ram:dearc disk2:maps.arc $Destination/
ram:dearc disk2:music.arc $Destination/
ram:dearc disk3:screens.arc $Destination/
ram:dearc disk4:brushes.arc $Destination/
ram:dearc disk4:digipics1.arc $Destination/
ram:dearc disk5:digipics2.arc $Destination/
setenv Title Tornado Installation
setenv Body1 *nInstallation is now complete.*n
requestchoice >env:Language "$Title" "$Body1" "Ok"
skip exit
lab abort
setenv Title Tornado Installation
setenv Body1 Installation aborted.
requestchoice >env:Language "$Title" "$Body1" "End"
lab exit
IF EXISTS ram:dearc
delete ram:dearc QUIET
ENDIF
unsetenv Title
unsetenv Body
unsetenv Body1
unsetenv Body2
unsetenv Body3
unsetenv Body4
unsetenv Body5
unsetenv Gadgets
unsetenv Digipics
unsetenv Dest
unsetenv Destination
unsetenv CurrentDir
unsetenv ParentDir
unsetenv Language